from http.client import responses

import requests


url = 'https://fanqienovel.com/api/author/library/book_list/v0/?page_count=18&page_index=0&gender=-1&category_id=-1&creation_status=-1&word_count=-1&book_type=-1&sort=0&msToken=x0Tt5miIMMs_QjZck-noOtC-ZjaFqgIYwgt8tC738NmDwn279WKg64HoncukKkq68EhQgctWK9iai8GFgw18xfIfbFv67HCvZQxzxKVJl3XPIkPx91KFaO31rv7mzI4%3D&a_bogus=OvUDvOZBMsm12EvYOhkz9jUm-2L0YW-sgZENo4hSuzo3'
headers = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36'
}
response = requests.get(url, headers=headers)
print(response.content.decode('utf-8', errors='replace'))
